import http from "@/utils/request";

export default{
    /**
     * 查询列表
     * @param  params
     * @returns
     */
    async getYzqkList(pageNo,pageSize,approveStatus,startDate,endDate){
        return await http.get("/api/scCyjYxqkfx/listToYzqkfx",{pageNo,pageSize,approveStatus,startDate,endDate});
    },

    /**
    * 添加
    * @returns
    */
    async addYzqk(params){
        return await http.post("/api/yzqkfx/add",params)
    },
    /**
    * 修改
    * @returns
    */
    async updateYzqk(params){
        return await http.put("/api/yzqkfx/update",params)
    },

    //删除
    async delete(params) {
        return await http.delete('api/yzqkfx/delete', params);

    },
    //批量删除
    async Bdelete(params) {
        return await http.post('/api/yzqkfx/batchDelete', params);

    }
}
